require 'compiler/ui'
require 'compiler/token'
require 'compiler/lexical_analyzer'

begin
  la = LexicalAnalyzer.new(ARGV[0])
  la.run
  la.dump
rescue
  UI.log $!
end
